/**
 * 
 */ 
package com.laozhao.EasySales.zgui; 

import javax.swing.Action;
import javax.swing.Icon;
import javax.swing.JMenuItem;

import com.laozhao.dreamframe.resources.DreamResource;

/** 
 * @author dozhao 
 * @version create time：Aug 3, 2011 3:11:25 PM 
 * 
 */
/**
 * @author dozhao
 *
 */
public class ZMenuItem extends JMenuItem {

	private static DreamResource resource = new DreamResource("ViewResource");
	/**
	 * 
	 */
	public ZMenuItem() {
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param icon
	 */
	public ZMenuItem(Icon icon) {
		super(icon);
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param text
	 */
	public ZMenuItem(String text) {
		super(resource.getString(text));
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param a
	 */
	public ZMenuItem(Action a) {
		super(a);
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param text
	 * @param icon
	 */
	public ZMenuItem(String text, Icon icon) {
		super(resource.getString(text), icon);
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param text
	 * @param mnemonic
	 */
	public ZMenuItem(String text, int mnemonic) {
		super(resource.getString(text), mnemonic);
		// TODO Auto-generated constructor stub
	}

}
 